package com.lxlg.lxlg_order.infra.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author kevin
 * @since 2022-04-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OrderLogs implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "logs_id", type = IdType.AUTO)
    private Integer logsId;

    /**
     * 0普通订单退款,1秒杀订单退款(订单类型）
     */
    private Integer orderType;

    private Integer orderId;

    /**
     * 创建的人0用户1管理员2商家
     */
    private Integer createType;

    private Integer operatorId;

    /**
     * 0生成订单，1取消订单，2支付订单，3订单退款，4完成订单
     */
    private Integer orderState;


}
